package com.atguigu.tingshu.search.client.impl;


import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.search.client.SearchFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@Slf4j
@Component
public class SearchDegradeFeignClient implements SearchFeignClient {


    @Override
    public Result updateLatelyAlbumRanking() {
        log.info("SearchDegradeFeignClient...updateLatelyAlbumRanking...方法执行了");
        return Result.fail();
    }
}
